package com.maclogic.utils;

public class Stat {

	public static final String DB_NAME="dbagcom.db";

	public static final String TABLE_NAME="tb_articles";
	public static final String TABLE_NAMEPAN="tb_panier";

	public static final String COL_ID="_id";
	public static final String COL_REF="REF";
	public static final String COL_CONST="CONSTRUCTEUR";
	public static final String COL_PRIX="PRIX";
	public static final String COL_CARAC="CARACT";
	
	public static final String COL_PID="_id";
	public static final String COL_PIDA="IDART";
	public static final String COL_PREF="REF";
	public static final String COL_PPRIX="PRIX";
	public static final String COL_PQTE="QUANTITY";
	
	public static String formatDevise(float pval,String pDevise,int pnbrDec) {
		     return String.format("%."+pnbrDec+"f", pval)+" "+pDevise; // sdb
		}
}
